//
//  HidelView.m
//  FreshBee
//
//  Created by LizhengYan on 10/15/16.
//  Copyright © 2016 iOS013. All rights reserved.
//

#import "HidelView.h"

@implementation HidelView

- (void)setupUIButton
{
    UIButton *btn1 = [[UIButton alloc]initWithFrame:CGRectMake(0, 0, 80,80)];
  
    [btn1 setImage:[UIImage imageNamed:@"icon_icons_holder"] forState:UIControlStateNormal];
    
    [btn1 setTitle:@"抽奖" forState:UIControlStateNormal];
    
    UIButton *btn2 = [[UIButton alloc]initWithFrame:CGRectMake(90, 0, 80,80)];
    
    [btn2 setImage:[UIImage imageNamed:@"icon_icons_holder"] forState:UIControlStateNormal];
    
    [btn2 setTitle:@"秒杀" forState:UIControlStateNormal];
    
    UIButton *btn3 = [[UIButton alloc]initWithFrame:CGRectMake(170, 0, 80,80)];
    
    [btn3 setImage:[UIImage imageNamed:@"icon_icons_holder"] forState:UIControlStateNormal];
    
    [btn3 setTitle:@"抢红包" forState:UIControlStateNormal];
    
    UIButton *btn4 = [[UIButton alloc]initWithFrame:CGRectMake(260, 0, 80,80)];
    
    [btn4 setImage:[UIImage imageNamed:@"icon_icons_holder"] forState:UIControlStateNormal];
    
    [btn4 setTitle:@"蜂抱团" forState:UIControlStateNormal];
    
    [self addSubview:btn1];
    [self addSubview:btn2];
    [self addSubview:btn3];
    [self addSubview:btn4];
}


@end
